package org.vacoor.ticket.bean;

/*
 * 列车的经过类型
 */
public enum TrainPassType {
	ALL("全部","QB"), OUTSET("始发","SF"), PASS("过路","GL");

	private String name;
	private String value;

	TrainPassType(String name,String value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString() {
		return name + "[" + value + "]";
	}
}
